import request from '/@/api/request'
/** 获取交易所账户列表 */
export const requestUserAddress = (data: AccountTypes.IRequest) => {
  return request.post<IPaginationResponse<AccountTypes.IResponse[]>>('/open-integration/exchange/buisness/userAddress/V1', data)
}

/** 编辑交易所账户 */
export const requestUpdateUserAddress = (data: AccountTypes.UpdateUserAdress) => {
  return request.post<IBaseResponse<AccountTypes.IDictResponse>>('/open-integration/exchange/buisness/updateUserAddress/V1', data)
}
